import request from '@/utils/request'

export function getList(data,teacherId) {
  return request({
    url: '/teacher/queryCourse/'+teacherId,
    method: 'post',
    data
  })
}
export function addCourse(data) {
  return request({
    url: '/teacher/addCourse',
    method: 'post',
    data
  })
}
export function deleteCourse(ctId) {
  return request({
    url: '/teacher/deleteCourse/'+ctId,
    method: 'post',
  })
}
export function getStudentInfo(data,ctId) {
  return request({
    url: '/teacher/queryStudentInfo/'+ctId,
    method: 'post',
    data
  })
}
export function scoringStudent(data) {
  return request({
    url: '/teacher/scoringStudent',
    method: 'post',
    data
  })
}